-------- CREATE MODULE -----------
DELETE MODULES WHERE MODULE_NAME='Callback'
GO
INSERT INTO [dbo].[MODULES]([ID], [DELETED], [CREATED_BY], [DATE_ENTERED], [MODIFIED_USER_ID], [DATE_MODIFIED], [DATE_MODIFIED_UTC], [MODULE_NAME], [DISPLAY_NAME], [RELATIVE_PATH], [TAB_ORDER], [TABLE_NAME], [MODULE_ENABLED], [TAB_ENABLED], [MOBILE_ENABLED], [PORTAL_ENABLED], [CUSTOM_ENABLED], [REPORT_ENABLED], [IMPORT_ENABLED], [SYNC_ENABLED], [IS_ADMIN], [CUSTOM_PAGING], [MASS_UPDATE_ENABLED], [DEFAULT_SEARCH_ENABLED], [EXCHANGE_SYNC], [EXCHANGE_FOLDERS], [EXCHANGE_CREATE_PARENT])
SELECT N'9D9C0C04-2380-4483-B612-C36FD1134779', 0, NULL, getdate(), N'00000000-0000-0000-0000-000000000001', getdate(), getdate(), N'Callback', N'.moduleList.Callback', N'~/Callback/', 10, N'Callback', 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0
GO
delete TERMINOLOGY where NAME='Callback' and LIST_NAME='moduleList'
GO
INSERT INTO [dbo].[TERMINOLOGY] (ID,[NAME],[MODULE_NAME],[DISPLAY_NAME],[LANG],[DELETED],[DATE_ENTERED],[DATE_MODIFIED],[DATE_MODIFIED_UTC],[LIST_NAME],LIST_ORDER)
VALUES
         ('B1CC9B74-E5F4-465C-9268-2BE86A82C0BB'
         ,'Callback'
         ,null
         ,'Callback Manager'
         ,'en-US',0,getdate(),getdate(),getdate()
         ,'moduleList'
         ,50)      
         
GO
---------------------INSERT SHORTCUTS in DROPDOWN MENU -------------------------
delete dbo.SHORTCUTS where MODULE_NAME='Callback'
INSERT INTO [dbo].[SHORTCUTS]([ID], [DELETED], [CREATED_BY], [DATE_ENTERED], [MODIFIED_USER_ID], [DATE_MODIFIED], [DATE_MODIFIED_UTC], [MODULE_NAME], [DISPLAY_NAME], [RELATIVE_PATH], [IMAGE_NAME], [SHORTCUT_ENABLED], [SHORTCUT_ORDER], [SHORTCUT_MODULE], [SHORTCUT_ACLTYPE])
SELECT N'613A7112-585F-4496-8F94-0F25D8BD85CA', 0, NULL, getdate(), NULL, getdate(), getdate(), N'Callback', N'Callback.LNK_CALLBACK_LIST', N'~/Callback/default.aspx', N'Campaigns.gif', 1, 1, N'Callback', N'edit' UNION ALL
SELECT N'241A9D81-0C53-44AD-83B7-956061F95C7A', 0, NULL, getdate(), NULL, getdate(), getdate(), N'Callback', N'Callback.LNK_CALLBACK_SETTINGS', N'~/Callback/Settings/Default.aspx', N'CreateCampaigns.gif', 1, 1, N'Callback', N'edit'
go
delete TERMINOLOGY where ID='D86EACE4-E121-4C8A-82DF-46D658B9178B'
GO
INSERT INTO [dbo].[TERMINOLOGY] (ID,[MODULE_NAME],[NAME],[DISPLAY_NAME],[LANG],[DELETED],[DATE_ENTERED],[DATE_MODIFIED],[DATE_MODIFIED_UTC],[LIST_NAME],LIST_ORDER)
VALUES ('D86EACE4-E121-4C8A-82DF-46D658B9178B','Callback','LNK_CALLBACK_LIST','Callback list','en-US',0,getdate(),getdate(),getdate(),null,50)
GO 


delete TERMINOLOGY where ID='07B49AF6-AB44-4DC8-B6D9-F373C6AF42B3'
GO   
         
INSERT INTO [dbo].[TERMINOLOGY] (ID,[MODULE_NAME],[NAME],[DISPLAY_NAME],[LANG],[DELETED],[DATE_ENTERED],[DATE_MODIFIED],[DATE_MODIFIED_UTC],[LIST_NAME],LIST_ORDER)
VALUES ('07B49AF6-AB44-4DC8-B6D9-F373C6AF42B3','Callback','LNK_CALLBACK_SETTINGS','Settings','en-US',0,getdate(),getdate(),getdate(),null,50)
GO 
delete TERMINOLOGY where id=N'2a8ebc58-310f-4ee3-8266-dc988b6e2ec6'
go
INSERT INTO [dbo].[TERMINOLOGY]([ID], [DELETED], [CREATED_BY], [DATE_ENTERED], [MODIFIED_USER_ID], [DATE_MODIFIED], [DATE_MODIFIED_UTC], [NAME], [LANG], [MODULE_NAME], [LIST_NAME], [LIST_ORDER], [DISPLAY_NAME])
SELECT N'2a8ebc58-310f-4ee3-8266-dc988b6e2ec6', 0, NULL, '20120501 11:01:18.710', NULL, '20120501 11:01:18.710', '20120501 11:01:18.710', N'LBL_CALLBACK_SETTINGS', N'en-US', N'Administration', NULL, NULL, N'Callback Settings'